home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
embedded
/
simulato
/
v2_3_mc6.tz
/
v2_3_mc6
/
testfiles
/
test3.asm
< prev
next >
Wrap
Assembly Source File
|
1994-05-02
|
460b
|
22 lines
;
; test3.asm
; C. Ward. 2/18/93
; Another short test file to exercise different instructions,
; in this case, the mulu instruction. At termination of the
; program the value of D1 = $????0002, A0 = $00001200.
;
; ORG $1000
MOVE.L #$1200,A0
CLR (A0)
CLR.W D1
MOVE.B #02,D2
SWAP D2
CLR.W D2
ADDI #2,D1
MULU D1,D2
CMP.L #$20,A0
OR.W D2,D1
MOVE.W #228,D7
TRAP #14
END